package com.achievement.service;

import com.achievement.domain.dto.PersonnelAcceptDTO;
import com.achievement.domain.entity.PersonnelAcceptEntity;
import com.achievement.domain.param.PersonnelAcceptParam;
import com.achievement.domain.vo.PersonnelAcceptVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.api.BusinessApi;
import com.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.List;

public interface IPersonnelAcceptService extends IService<PersonnelAcceptEntity>, BusinessApi {
    List<PersonnelAcceptVO> selectByPage(PersonnelAcceptParam param);

    List<PersonnelAcceptVO> getListByConditions(PersonnelAcceptParam param);
    PersonnelAcceptVO getInfoById(String id);

    AjaxResult add(PersonnelAcceptDTO dto);

    AjaxResult update(PersonnelAcceptDTO dto);

    boolean batchRemove(List<String> ids);

    /**
     * 左上方统计 通过，退回，待审核
     */
    List<HashMap<String, Integer>> listStatistics(PersonnelAcceptParam param);
}
